<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
  <title></title>
  
</head>
<body>

  <table class="table table-striped">
    <tbody>
      <tr>
        <td><a href="${ctx}/shop/index"><img src="${ctx.resource}/images/logo-topbar.gif"></a></td>
        <td style="text-align: right;">
          <a href="${ctx}/shop/viewCart"><img src="${ctx.resource}/images/cart.gif"></a>
          <img src="${ctx.resource}/images/separator.gif">
          <a href="${ctx}/shop/signonForm" ><img src="${ctx.resource}/images/sign-in.gif"></a>
          <img src="${ctx.resource}/images/separator.gif">
          <a href="${ctx}/help"><img src="${ctx.resource}/images/help.gif"></a>
        </td>
        <td style="text-align: left">
          <form action="${ctx}/shop/searchProducts">
            <input name=keyword >
            <input src="${ctx.resource}/images/search.gif" type=image>
          </form>
        </td>
      </tr>
    </tbody>
  </table>
  
  <table>
    <tbody>
      <tr>
        <td>
          <p>&nbsp;</p>
          <p><strong>Welcome to the Spring JPetStore, by Juergen Hoeller</strong></p>
          <p>Based on the iBATIS JPetStore, by Clinton Begin</p>
          <p>
            <i>This application demonstrates the use of Spring for the middle tier, including declarative transaction management applied to POJO business objects. This application can easily be configured to use JTA or JDBC for transaction management, so it allows declarative transaction management in a web container without JTA.<br><br>
            There are alternative Spring and Struts MVC layers built on a shared Spring middle tier.</i>
          </p>
          <p><a href="${ctx}/shop/index">Enter the Store</a></p>
        </td>
      </tr>
    </tbody>
  </table>
  
  <p>&nbsp;</p>
  
  <table>
    <tr>
      <td>
        <a href="http://www.springframework.org">
          <img src="${ctx.resource}/images/poweredBySpring.gif" alt="Powered by the Spring Framework" >
        </a>
      </td>
      <td>
        <a href="http://www.ibatis.com">
          <img src="${ctx.resource}/images/poweredby.gif" alt="Powered by iBATIS" >
        </a>
      </td>
    </tr>
  </table>

  <%@ include file="/WEB-INF/include/script.jsp"%>

</body>
</html>
